af_top_n_line_graph

Configuration for Get line graph for top N servers/clients for given metric type, ordering metric, application name, vserver name and time frame resource.

Read/write properties

render_time<Double>

Avg. render time in given sampled time frame.

vserver_name<String>

Vserver name.

client_ip_address<String>

Client IP address.

application_name<String>

vserver_name.

rpt_sample_time<Double>

Report Sample time.

total_bytes<Double>

Total bytes in given sampled time frame.

total_requests<Double>

Total request made by server of this application in given sampled time frame.

network_latency_server_side<Double>

Avg. network latency server side in given sampled time frame.

limit<String>

Value of N.

server_ip_address<String>

Server IP address.

network_latency_client_side<Double>

Avg. network latency client side in given sampled time frame.

server_response_time<Double>

Avg. server response time in given sampled time frame.

entity_type<String>

Whether the entity is client or server.

Operations

NOTE: In request payload, Mandatory parameters are marked red and bold.

The following parameters can be used in the nitro request :

onerror   <String_value>

Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE

get (all)

get (all)

URL:https://<MGMT-IP>/nitro/v2/config/af_top_n_line_graph

Query-parameters:

type

Use this query-parameter to specify the type.

Possible Values:total_requests, total_bytes, network_latency_server_side, server_response_time

duration

Use this query-parameter to specify the duration.

Possible Values:last_1_day

order_by

Use this query-parameter to get the result that is ordered by the given property.

Possible Values:total_requests, total_bytes, network_latency_server_side, server_response_time

asc

Use this query-parameter to specify whether the results should be in ascending order or not.

Possible Values:yes, no

report_start_time

Use this query-parameter to specify the start time from which the summary for report is considered.

Possible Values:time in seconds

report_end_time

Use this query-parameter to specify the end time until where summary for report is considered.

Possible Values:time in seconds

HTTPS Method:GET

HTTPS Request Headers:

Accept:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "af_top_n_line_graph":[{
      "render_time":<Double_value>,
      "vserver_name":<String_value>,
      "client_ip_address":<String_value>,
      "application_name":<String_value>,
      "rpt_sample_time":<Double_value>,
      "total_bytes":<Double_value>,
      "total_requests":<Double_value>,
      "network_latency_server_side":<Double_value>,
      "limit":<String_value>,
      "server_ip_address":<String_value>,
      "network_latency_client_side":<Double_value>,
      "server_response_time":<Double_value>,
      "entity_type":<String_value>}]}